package com.liang.index334.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author liangyehao
 * @version 1.0
 * @date 2021/5/1 18:38
 * @content
 */
@Data
public class NewResult {


    @ExcelProperty("经纪人姓名")
    private String agentName;
    @ExcelProperty("岗位")
    private String jobs;
    @ExcelProperty("总拉新注册量")
    private Integer newAmount;
    @ExcelProperty("是否达标")
    private String newFlunk;

    public void setNewAmount(Integer newAmount){
        this.newAmount = newAmount;
        this.newFlunk = newAmount>=4?"已达标":"预警关黑";
    }


}
